You are here: Maintenance > Backing Up Files

Backing Up Files

There are certain files on your ZixGateway appliance that must be backed up . These files include certain system files and ZixReporting Dashboard data files.

zixbackup

Running zixbackup creates a copy of the following system files.

FILENAME

LOCATION (if standard)

keystore

/zix/zixvpm/agent

clusters.zdb

/zix/system/tomcat/webapps/zixvpm/WEB-INF

ZixitSignature.zky

C:\Documents and Settings\USERNAME\Application Data\ZixIt

SSH key

Location varies by SSH client

LEX*

/zix/system/tomcat/webapps/zixvpm/WEB-INF

Note: The keystore, clusters.zdb and LEX* files must be backed up at the same time and kept together.

Running an Immediate Backup

You must run zixbackup before making any changes such as applying a patch, running an upgrade or re-imaging your machine. To complete an immediate backup, run the command:

sudo zixbackup

Then follow the prompts.

If the system is not yet in the mail flow, run the command:

sudo zixbackup -n

This command saves the backup file on the appliance. The name and location is displayed on the screen.

Setting up a Recurring Backup

You may want to set up a re-occurring back up to run so that your files are automatically backed up at regular intervals. To set up an automated backup, run the command:

sudo zixbackup -c

Then follow the prompts.

db_backup

You must also db_backup before making any changes such as applying a patch, running an upgrade or re-imaging your machine. To complete an immediate backup of your ZixReporting Dashboard database, run the following command on the appliance that hosts ZixGateway Manager:

sudo db_backup

When run on the appliance that hosts ZixGateway Manager, this command takes a back up of your ZixGateway Dashboard database and all temporary files and places them in a file in the current working directory. The name of the file will have the format backup_dashboard_<date>.tar.gz.

After the database backup has been completed, you should transfer the backup file off of the ZixGateway appliance.